package com.yugao.fintech.antelope.system.model.rqrs.area;

import com.yugao.fintech.antelope.base.model.constants.ValidationCons;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;

/**
 * 行政区划
 *

 */
@Getter
@Setter
public class AreaBase {
    @NotEmpty(message = ValidationCons.NOT_EMPTY)
    @ApiModelProperty(value = "区域名称")
    private String areaName;

    @ApiModelProperty(value = "父级编号")
    private String parentId;

    @ApiModelProperty(value = "排序号（升序）")
    private Integer sortNo;

    @ApiModelProperty(value = "区域类型")
    private String areaType;

    @NotEmpty(message = ValidationCons.NOT_EMPTY)
    @ApiModelProperty(value = "状态（ 1删除 2停用）")
    private String status;

    @ApiModelProperty(value = "备注信息")
    private String remark;
}
